Beat yolks in pot. Add milk and stir.
In a bowl thoroughly mix flour, sugar, and cocoa. Add to milk and eggs.
Cook and stir until thick. Remove from heat and add vanilla.
Cool and serve as pudding, or use to fill a graham cracker pie crust
and top with whipped cream.